package com.nimt.hqgl_idea.param;

import com.nimt.hqgl_idea.entity.User;

import java.util.List;

public class UserParam extends PageParam {
    private String role;
    private List<User> data;

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        if ("".equals(role)) {
            role = null;
        }
        this.role = role;
    }

    public List<User> getData() {
        return data;
    }

    public void setData(List<User> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return super.toString() + "UserParam{" +
                ", role='" + role + '\'' +
                ", data=" + data +
                '}';
    }
}
